package org.hxyjs.dao;

import org.hxyjs.entity.Integral;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface IntegralDao {
    public List<Integral>  getAllIntegrals()  throws Exception;
    public Integral  getIntegralByUno(String inno)  throws Exception;
    public List<Integral> getIntegralsByPage(PageInfo pageInfo);
    //增删改的返回值都是整数
    Integer deleteIntegral(String inno)  throws Exception;
    Integer updateIntegral(Integral integral)  throws Exception;
    Integer addIntegralByUno(Integral integral)  throws Exception;

    Integral getIntegralsWithOrders(String inno)throws Exception;

    Integral getAccountByAccountName(String inno)throws Exception;



}
